<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib prefix="mc" uri="http://waigo.cn/jstl/microcm"%><jsp:useBean id="srvdat" class="com.microcm.system.SrvData" scope="page"/><jsp:setProperty name="srvdat" property="request" value="<%=request%>"/>
<%@ page import="java.net.URLEncoder" %>
<!doctype html>
<html >
  <head>
	<title><mc:config key="SERVER.TITLE"/></title><%@include file="/WEB-INF/inc/COMMON_META.inc"%>
	<link rel="stylesheet" type="text/css" href="${srvdat.sctxurl}/css/page.css">
	<script src="${srvdat.sctxurl}/js/page.js" type="text/javascript"></script>
  </head>
  <body id="pg_goods_list">
<%@include file="/WEB-INF/inc/GLOBAL_HEADER.inc"%>
	<div id="sub-list-category" class="tac">
		<div class="el" style="width:960px;">
			<div class="category-item category-frame">
				${srvdat.searchNavHtml}
			</div>
		</div>
	</div>
	<div class="tac">
		<div class="el pgw">
		<c:choose>
			<c:when test="${empty goodsList}">
				<div style='height:100px;line-height:100px;text-align:center;font-size:18px;color:#F74F04;'>
					暂时没有此类商品！
				</div>
			</c:when>
			<c:otherwise>
			<div class="list-box clr" style="width:970px">
				<c:forEach items="${goodsList}" var="g" varStatus="idx">
					<c:set var="nick" value="${g.nick}"/>
					<%String nick = (String)pageContext.getAttribute("nick");pageContext.setAttribute("nick",URLEncoder.encode(nick,"utf-8"));%>
				<div class="list-item fl">
					<a href="${g.clickUrl}" title="${g.title}" target="_blank">
						<img src="${srvdat.sctxurl}/images/loading.gif" data-original="${g.picUrl}_b.jpg" class="lazy" alt="xx"/>
					</a>
					<p class="item-name"><a href="${g.clickUrl}" class="purple" target="_blank">${g.title}</a></p>
					<div class="item-info">
						<span class="item-price">￥${g.price}</span>
						<span class="item-sales">30天售<span>${g.volume}</span>件</span>
						<p class="tac">
							<a href="${g.shopClickUrl}" target="_blank">${g.nick}</a>
							<a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=${nick}&siteid=cntaobao&status=2&charset=utf-8"><img border="0" src="http://amos.alicdn.com/realonline.aw?v=2&uid=${nick}&site=cntaobao&s=2&charset=utf-8" alt="联系掌柜" /></a>
							<span class="city">(${g.itemLocation})</span>
						</p>
					</div>
				</div>
				</c:forEach>
			</div>
			<div class="page_nav">
				${srvdat.navPage}
			</div>
			</c:otherwise>
		</c:choose>
		</div>
	</div>
<%@include file="/WEB-INF/inc/GLOBAL_FOOTER.inc"%>
  </body>
</html>